package com.hospital.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(25)
public class MedicineUserDto {
    @ExcelIgnore
    @ExcelProperty(value = "药品id")
    private Integer id;

    @ExcelProperty(value = "购买药品名")
    private String mname;

    @ExcelProperty(value = "购买人")
    private String uname;

    @ExcelProperty(value = "购买数量")
    private Integer mnum;

}
